Helpful Information
 
 
Category: vBulletin 3.0 Beta Releases
Shoutbox Hack - 1.0 Gamma 1 (Outdated -> RC1 in Full Releases)

Release Candidate 1 is now released! It is posted in a new thread (here --->): http://www.vbulletin.org/forum/showthread.php?p=459717

Can a mod or admin close this thread?

Looks Nice mate. Do you have to have that many shown on the front page or is this editable?

I already have a shoutbox with the new Portal for RC1 so if there is a way i can use this one with that then ill definetly use it, otherwise i got myself a problem :)

Nice work anyway.

Looks like I forgot to upload the settings.gif screenshot. Yes, it is editable, as most things are.

Great, now I'll install it.
Only one request: (I have not downloaded it and doen't have them time to chech the code now), but, could you make it that

1) the option, that every second shout is in one of the two predefined colours - so make it not just colours, but predefined css styles, so everybody could easily change the colour scheme

Dos this goes? Respect!

It uses the standard "First Alternating Color" and "Second Alternating Color" CSS classes.

Great - another important question. Could you make and add-on or as an option so that guest, unregistered could enter they're name in the shoutbox and shout, let's say, for some 3 times and would have to register with the same name later? It is the only thing that is really missing in all the other chat soft from vb. If you code this, I'll make some design for you for free and that's my word, count on me.

I'll look into it for the next release.

Invalid SQL: UPDATE user SET rpgmoney=rpgmoney+5 WHERE userid='1'
mysql error: Unknown column 'rpgmoney' in 'field list'

any ideas thats when i try to post a shout, im guessing part of the datebase is missing.

Hehe... whoops. That's what I get for putting a store add-on into the shoutbox and forgetting to remove the line from shoutbox.php when I downloaded it from the board I am developing it on...

I'll update the ZIP in a minute.

lol i guessed has much :p

dont worry i have done the same before with the tombot hack.

Ok, I've updated the zip. Redownload the zip and upload shoutbox.php, that should fix the error.

Nice one :D I might use it one day.

all working fine here now :)

sweet man, i was lookin' forward to get this hack. =)

Does this modify the standard usergroup bitfields, or does it do it's own?

hope you dont mind but i have edited the forumhome html code so it use's the vb3 open and close buttons so people can hide it if they want.

<if condition="$vboptions['shoutbox_forumhomeshouts'] == 1">
<!-- shoutbox hack (by squall14716) -->
<tbody>
<tr>
<td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
<a href="shoutbox.php?$session[sessionurl]">Shoutbox - <if condition="$vboptions[shoutbox_numberofforumhomeshouts] == 1">Latest
Shout<else />Last $vboptions[shoutbox_numberofforumhomeshouts] Shouts</if></a></td>
</tr></tbody> <tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
<tr valign="top">
<td class="alt2"><a href="shoutbox.php?$session[sessionurl]"><img src="$stylevar[imagesfolder]/icons/icon2.gif" alt="" title="(temporary button) Enter the Shoutbox" border="0" /></a></td>
<td class="alt1" width="100%"><span class="smallfont"> <if condition="!($permissions['shoutboxpermissions'] & SHOUTVIEW) || $bbuserinfo['shoutbanned'] == 1"><b>$noviewperms</b><else />
<hr>
$latestshouts</if> </span></td>
</tr>

</tbody>
<!-- end shoutbox hack (by squall14716) -->
</if>

Does this modify the standard usergroup bitfields, or does it do it's own?
It creates its own.

Hiyah .. I have just downloaded the shoutbox hack .. but .. being a newbie at this .. I am confused by the various documentation.

I have just installed vB3 RC1, could you tell me, in newbie terms, how I go about installing the shoutbox as a completely new install please.

Thanks

First, go to phpMyAdmin, and click on the database that you installed vB into. Click the "SQL" link at the top. Click the "Browse" button under "Or Location of the textfile :", go to the folder you extracted the zip archive to and select shoutbox.sql. Click "Open" to close the the dialogue box and "Go" to execute the file. Repeat it for settings.sql. After that, open up file_edits.txt and follow the instructions. Once you properly make all of the file edits, upload all the edited files (if you haven't already). Then, open up templates.txt and edit the FORUMHOME template as noted, and then create the needed templates. After that, go to the phrase manager and go to edit a phrase, but save it without changes. Then go to 'vBulletin Options' and select "Shoutbox Settings" and change the settings to your liking (or if you wish to keep the defaults, save it without changing anything). Now, go to the usergroup manager and go to edit a usergroup. You can customize some of the shoutbox settings for that usergroup there, but even if you do not, make sure you save it even if you do not make any changes. Repeat this step for any usergroup that you want to customize the shoutbox settings for.

Ok .. thankyou very much for your quick and explanatory reply .. I wil have a crack at that .. much obliged :up: :cool:

I like the screenshots and the concept of the hack.

I hope it works for RC1??

I am confused a little vb2, vb3 Beta, vb3 Gamma now vb3 RC1 ----big diffences between vb3 Beta and vb3 Gamma and RC1?? I think.

This has been tested and known to work on vB3 Gamma, however, without testing it on vB3 RC1, I cannot say that it will work with 100% certainty, although it should work perfectly.

I've installed this on my test site, which is RC1

It went quite smooth

I only had one hickup, if you want to call it that

In templates

edit FORUMHOME

Find
<if condition="$birthdays">

It should be
<if condition="$show['birthdays']">

But this is fairly obvious

Excellent work :banana:

I'll install it on my main site once I upgrade to RC1 tonight ;)

I knew I forgot something.

Zip updated, thanks. :)

Ohhh the update looks brilliant!!!

templates and php files I can do :)

mysql and phrase, I do not :(

After that, go to the phrase manager and go to edit a phrase, but save it without changes.
I do not quite understand this quote? in the zip there is a file called "phrasesonly" and the contents look like sql - How do I insert the contents of this file please?

MySql: I can run query normaly, editing them to prefix the table names I have never had to do this :( where would I need to edit them please?

Some enlightenment would be much appreciated.
Thanks

Hmm can you make it so ppl can reply on the forumhome page? and not have to go to the shoutbox.php to respond?? lil reply box on the forumhome page like on www.yaxay.com (http://www.yaxay.com)

Don't worry about phraseonly.sql, the 2 .sql files you need to worry about are shoutbox.sql and settings.sql. If you do not have table_prefixes, do not worry about editing any .sql files.

Run the .sql files in phpMyAdmin, go to the phrase manager, edit a phrase, and save without modifying. Go to vBulletin Options, edit the Shoutbox Settings to what you want and save (or save without modifying). Edit a usergroup, modify the shoutbox permissions to how you want them, and save (or save without modifying). That should do it.

Hmm can you make it so ppl can reply on the forumhome page? and not have to go to the shoutbox.php to respond?? lil reply box on the forumhome page like on www.yaxay.com (http://www.yaxay.com)
It's a simple template edit to the FORUMHOME template. I don't have the HTML right now, but it's not that hard, just a simple form and textarea.

OK and thank you Link14716, I will try this later and see how I get on ;)

I understand a bit more now and I missed the usergroup part :( still a bit unsure about the pharse part. I have done like a Global add to the pharse, so this is something new to me, sorry for that.

I also would like please:

Hmm can you make it so ppl can reply on the forumhome page? and not have to go to the shoutbox.php to respond?? lil reply box on the forumhome page like on www.yaxay.com (http://www.yaxay.com/)
thanks

I knew I forgot something.

Zip updated, thanks. :)

No problem, Glad to help

Found another problem as well for RC1

Edit these templates

SHOUTBOX, shoutbox_editshout

find


<a href="$bburl/misc.php


replace with


<a href="$vboptions[bburl]/misc.php


You should find 2 instances in each template

BTW, I really want that post in the forumhome box as well, Cant wait for that update :p

:banana:

Great hack ! Thanks!


It's a simple template edit to the FORUMHOME template. I don't have the HTML right now, but it's not that hard, just a simple form and textarea.

Can someone post a modified FORUMHOME-Template, so users can add shouts directly from the Forum's Mainpage?

Thanks.

Yeah, I found that error a while ago, it's fixed for Beta 6.

I'll make a quick edit to the FORUMHOME template and post it here.

Ok, this will make a small textarea under the shouts. In FORUMHOME, find this: $latestshouts and add this after it: <center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="Shout Now!" class="bginput" accesskey="s"></form> Or for a small input box under the last shouts, add this: <form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60"><input type="submit" name="submit" value="Shout Now!" class="bginput" accesskey="s"></form>

Perfect, thank you Link14716

Ok, in Beta 6, there is a toggable setting - you can select an input box, a textarea, or neither to show up on FORUMHOME.

Link, you are the man !
Thanks for this great hack and the html-code :D

AH, one thing... Is there a way that the user will not be forwarded to the shoutbox.php-Mainpage, then he ads a shout. I just want the shout added and the user should stay on forumhome.

An option will be in the next release.

For now, though, find this:// ########################### START ADD SHOUT ############################Now search under it for this: $do = "main";Change that to this:header("Location: index.php");
exit;And that should work.

Yes, works (after using a ; instead of : after ..php.)

For the next version, it would be cool if the script could check, if the user is on the forumhome or in shoutbox.php and stay after adding a new shout at the user's current location.

Yes, works (after using a ; instead of : after ..php.)

For the next version, it would be cool if the script could check, if the user is on the forumhome or in shoutbox.php and stay after adding a new shout at the user's current location.
Damned shift key! Yeah, that's a better idea. Let me implement it now...

...and perhaps limit Chars for a shout :D I dont want users to type more than one Line :D
(Looks not good on Forum's home :D )

Damned shift key! Yeah, that's a better idea. Let me implement it now...

LOL, I was just about to post about that. hehe

Excellent work

Features left to implement before Beta 6:

Unregister users can shout (with options) (http://www.vbulletin.org/forum/showpost.php?p=455122&postcount=4)
Char limit for shouts (http://www.vbulletin.org/forum/showpost.php?p=456144&postcount=41)

Anything else?

Features left to implement before Beta 6:

Unregister users can shout (with options) (http://www.vbulletin.org/forum/showpost.php?p=455122&postcount=4)
Char limit for shouts (http://www.vbulletin.org/forum/showpost.php?p=456144&postcount=41)

Anything else?

A smilie box in both the shoutbox.php and the quick reply shout maybe

If you know the codes, they work, but for those that dont

I don't see any point in a smilie box on forumhome. And there is already a setting to have one in shoutbox.php.

I don't see any point in a smilie box on forumhome. And there is already a setting to have one in shoutbox.php.

Yes, there is a link to open the smilies on a seperate page, but the click through like in a post does not work, so you have to copy and paste the code.

as for the one on the forumhome, I see your point :p

Thanks for the reply ;)

There is also a setting to show the smilie box on the shoutbox page, but it's turned off by default, especially now that it is integrated with the textarea. There just isn't a whole lot of room because of the 2 column layout. I'm looking into changing the layout sometime. It'd be a little easier if I actually knew a decent amount of HTML.

nice hack! is there any way to make it refresh (# of secs) on the forumhome?

what I did not find in the screenshots (me==blind ?):
can I limit the amount of shouts per user per day?
I like the box, but my board will be floaded by "advertisment" shouts if I install it without an limitation...

I'll add it to my to-do list for Beta 6. Expect the release tommorow, followed by a fully-phrase Gamma release after followed by the RC release in the Full Releases forum.

I minimized the HTML-Code for Forumshome... I think, the display on Forumhome should be as small as possible. So i stripped all Horizontal Lines, changed the Timestamps and removed Linebreaks... I think on Forumhome, it should be small and quick. User who want advanced features should use shoutbox.php.
(Thats why i really like this hack - because i cann offer both options...)

Just my 2 cents.

Well, here's what the forumhome will look like on Beta 6 (well, there's an input box under the shouts, but you have to be logged in to see it): http://www.gaming-hell.com/forums/index.php?

this may be a bit easy, but how do you change the background of the forumhome shoutbox? I know it goes with .page css. but can't change that. I just want the background a different color. :)

Nice hack, I'll be sure to install it, sometime...

Great - another important question. Could you make and add-on or as an option so that guest, unregistered could enter they're name in the shoutbox and shout, let's say, for some 3 times and would have to register with the same name later? It is the only thing that is really missing in all the other chat soft from vb. If you code this, I'll make some design for you for free and that's my word, count on me.
This has now been completed.

An excellent Shoutbox Hack, and it is working well .. but is there any chance of a " Delete All Shouts " button, for Admin Use, so that it can be cleared in one go ;) :up:

Might want to remove some of the sensitive information in your screenshots, I just tend to notice these things :p

I'm talking about things like IPs, email addresses, etc. :)

By the way, nice hack, but the forumhome display seems a bit messy :)

Link you know you can bug me to help code it ;D

Fine then, Faranth, you can help me with the HTML. :p

Gary: I'm not real good with HTML, so the display might not be perfect, but I just tried to make it... well... work.

I'm going to try to complete Beta 6 today, including several new features and several small bugfixes, and afterwords I'll start phrasing it and working on the admin script which will include pruning at least, not sure what else to add to it.

Yeah, i would love to install the next Beta :D
I will come back often to this thread today :D

then ill get a test board up and see what i can do with it :)

i personally hate the look and thought of the shoutbox being scrollable on the forumhome, i say stick too TWT commish style one or two shouts :)

link: don't forget my question for the merge thread into shoutbox feature ;)

i inserted a div scroll code to have more shouts on the forumhome. :)

Fine then, Faranth, you can help me with the HTML. :p

Gary: I'm not real good with HTML, so the display might not be perfect, but I just tried to make it... well... work.

I'm going to try to complete Beta 6 today, including several new features and several small bugfixes, and afterwords I'll start phrasing it and working on the admin script which will include pruning at least, not sure what else to add to it.
Okay, I understand :)

Beta 6... err.... Gamma 1 has been released, including many new features and bugfixes. I believe that the hack is stable enough to be considered a gamma release and not a beta, hence why I'm calling it Gamma 1.

Beta 6... err.... Gamma 1 has been released, including many new features and bugfixes. I believe that the hack is stable enough to be considered a gamma release and not a beta, hence why I'm calling it Gamma 1.
I don't think many hacks had a "Gamma" release until vB 3 began a Gamma phase :p

Probably not. :p But I don't see many bugs at all in it, so I gave it Gamma status. :)

Zip updated at 9:40 PM EST - redownload if you are doing a full install.

Zip updated 10:16 PM EST... again. It appears I forgot a query. If you have already installed or updated, run this query:ALTER TABLE shoutbox_posts ADD `username` VARCHAR (255) DEFAULT '0'

*Ahem*

1.0 Gamma 1 Screens

Probably not. :p But I don't see many bugs at all in it, so I gave it Gamma status. :)
Gamma is still a non-stable version though, just call it something like 1.0 FINAL :)

edit: fixed!

Nice hack :) It's just the sort of shoutbox I've been looking for. I'm definitely going to install when it's no longer a beta release... and maybe sooner.

Few questions:

1) Does this work in RC2?
2) Any idea when this will no longer be a beta?

1) It works great on both of my RC2-Boards.
2) Its Gamma now... Dont mind, the hacks works well !

1) Yes, if you notice, the screenshots were taken on a RC2 testboard - it's compatible on every vB3 version since Gamma.

2) It's Gamma now, and will be an RC and eventually a final in the near future. Very near future.

Gamma is still a non-stable version though, just call it something like 1.0 FINAL :)

But it isn't FINAL. I still have to finish up phrasing this thing. :D

I'm through phrasing the SHOUTBOX template, moving on to the others now and then I'll get rid of the English that is still hardcoded in shoutbox.php.

Then I gotta make an installer, to install phrases and settings and run the other queries (at least) and afterwords test it and release it as a final release and all.

Then I'll begin working on other features, such as admin_shoutbox.php (I can only think of putting pruning in there, suggestions welcome) and the "merge thread into shoutbox" feature.

i like the look of this one since you changed it...
but could i ask some thing from you......i it is not to much trouble could you add the smilie drop down box to the shout button on the forum home
or would that be to much of a headache

thanx
MG

i like the look of this one since you changed it...
but could i ask some thing from you......i it is not to much trouble could you add the smilie drop down box to the shout button on the forum home
or would that be to much of a headache

thanx
MG
That would be pretty difficult, but I'll try to look into it later.

That would be pretty difficult, but I'll try to look into it later.
moreso than diffucult i belive it would increase page load time at least on the forum home, maybe you could add more smilies link

moreso than diffucult i belive it would increase page load time at least on the forum home, maybe you could add more smilies link
if it is going to be so much trouble then a pop up link would do just fine

I really don't see if it would increase pageload - it would just take one more row selected from the datastore and then try to make a dropdown box out of it...

On a unrelated note, I am pretty sure that I have got all the English out of the templates and files now and into the phrase system. Once I create an installer, I'll package it up and release it.

I really don't see if it would increase pageload - it would just take one more row selected from the datastore and then try to make a dropdown box out of it...

On a unrelated note, I am pretty sure that I have got all the English out of the templates and files now and into the phrase system. Once I create an installer, I'll package it up and release it.
unless i miss understood. he wants to add a dropdown that has the smilies in it?

so it qould increase pageload time for each smilie that would get displayed

unless i miss understood. he wants to add a dropdown that has the smilies in it?

so it qould increase pageload time for each smilie that would get displayed
what if he makes it were you can limit how smilies show up there

what if he makes it were you can limit how smilies show up there
still users on 56k would expirece a slowdown, i do think the best bet would be to call the smilies list

if it was a pop up, would it cause much stress on a 56k user?

Sorry, I was confusing serverload and pageload.... bah, I need some caffeine. ;)

if it was a pop up, would it cause much stress on a 56k user?
well if it gets into its own new window then its their choice.

if is forced on the page it makes your site less accessable as a first time visitor already has to download much

I have finished steps 1-3 of the install script for both a clean install and an upgrade from 1.0 Gamma 1. Attached are screens.

Looks good :) You say you've finished steps 1-3 - how many steps will there be?

I'm not sure. Probably around 6, and then a 7th optional step to convert data from TWTCommish's vB2 shoutbox if you still have the shoutbox table and its data from vB2.

what if i have the other shoutbox here http://www.vbulletin.org/forum/showthread.php?t=59602, could there be an upgrade from that?

To make an converter is rather a headache,
nobody will code it for you, have to hire someone.

I will code it. I already have one made for TWTCommish's, Black Vivi's shouldn't be much harder (in fact, it should be easier if anything). It's just a simple query and then a while loop and another query to insert the data.

I will code it. I already have one made for TWTCommish's, Black Vivi's shouldn't be much harder (in fact, it should be easier if anything). It's just a simple query and then a while loop and another query to insert the data.thanx for the time you spend on it and I really appreciate it, it would not be a problem if you don't make a converter for it

Expect RC1 to go out tonight. It'll be fully phrased and it has a new install/upgrade script (no more phpMyAdmin needed).

How many chat scripts are there at this moment?
Could this be made more of the chat, than the shoutbox, because it's even more dynamic?

Dont know... But me an my users love this one.
The ones just want to shout use the forumhome, the others use shoutbox.php (chat :D )...

This Script is perfect.... if you ask me :D

I'll be releasing RC1 in about 15 minutes.










privacy (GDPR)